tools/libxl: Create a per-arch function to map IRQ to a domain
authorJulien Grall <julien.grall@linaro.org>
Tue, 28 Apr 2015 14:32:37 +0000 (15:32 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 8 May 2015 14:41:59 +0000 (15:41 +0100)
commitae2c92c3745192eebdee57dfeaf4400f59a164c6
tree3f76ad70007ddb275a637e5c1114cad421a71a78
parentfe36cccc483cee4233c9d01d7cea46c7666db96d
tools/libxl: Create a per-arch function to map IRQ to a domain

ARM and x86 use a different hypercall to map an IRQ to a domain.

The hypercall to give IRQ permission to the domain has also been moved
to be an x86 specific function as ARM guest won't be able to manage the IRQ.
We may want to support it later.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_arch.h
tools/libxl/libxl_arm.c
tools/libxl/libxl_create.c
tools/libxl/libxl_x86.c